<tr>
    <th><span class="form-required">*</span>语言标识</th>
    <td>
        <input class="form-control" type="text" name="parameter[langindex]" value="{$parameter[langindex]}" placeholder="请输入语言标识">
        <div class="help-block" style="margin-bottom:0;">用于网站切换不同语言访问时所使用的URL地址标识 例如：http://www.thinkcmfs.com/index-cn.html</div>
    </td>
</tr>
<tr>
    <th><span class="form-required">*</span>翻译标识</th>
    <td>
        <input class="form-control" type="text" name="parameter[fanyiindex]" value="{$parameter[fanyiindex]}" placeholder="请输入翻译标识" style="display:inline-block;">
        <div class="help-block" style="display:inline-block;">
        	<a href="javascript:openPageLayer(['60%', '45%'],'百度自动翻译API','configdesc');">接口说明</a>
            <div id="configdesc" style="display:none;">
            <div style=" padding: 20px;">
                <style>.mainVisual tr td{ padding:5px;}.mainVisual tr th{ padding:5px; text-align:left;}</style>
                <p class="st-fon16 st-texc st-mb20">目前支持13种语言，如下所示</p>
                <table cellpadding="5" class="mainVisual" style="border:1px solid #e0e0e0; background:#63b2ed; border-collapse:collapse; width:100%;">
                  <tbody>
                    <tr style="color:#fff;">
                      <th width="100" align="left">语种<br /></th>
                      <th width="100" align="left">代码<br /></th>
                      <th width="100" align="left">语种<br /></th>
                      <th width="100" align="left">代码<br /></th>
                    </tr>
                    <tr style="background:#FFF;">
                      <td style="color:#0A8021 !important;">中文</td>
                      <td>zh</td>
                      <td>英语</td>
                      <td>en</td>
                    </tr>
                    <tr style="background:#f8f8f8;">
                      <td style="color:#0A8021 !important;">日语</td>
                      <td>jp</td>
                      <td>韩语</td>
                      <td>kor</td>
                    </tr>
                    <tr style="background:#FFF;">
                      <td style="color:#0A8021 !important;">西班牙语</td>
                      <td>spa</td>
                      <td>法语</td>
                      <td>fra</td>
                    </tr>
                    <tr style="background:#f8f8f8;">
                      <td style="color:#0A8021 !important;">泰语</td>
                      <td>th</td>
                      <td>阿拉伯语</td>
                      <td>ara</td>
                    </tr>
                    <tr style="background:#FFF;">
                      <td style="color:#0A8021 !important;">俄罗斯语</td>
                      <td>ru</td>
                      <td>葡萄牙语</td>
                      <td>pt</td>
                    </tr>
                    <tr style="background:#f8f8f8;">
                      <td style="color:#0A8021 !important;">粤语</td>
                      <td>yue</td>
                      <td>文言文</td>
                      <td>wyw</td>
                    </tr>
                    <tr style="background:#FFF;">
                      <td style="color:#0A8021 !important;">白话文</td>
                      <td>zh</td>
                      <td>自动检测</td>
                      <td>auto</td>
                    </tr>
                    <tr style="background:#f8f8f8;">
                      <td style="color:#0A8021 !important;">德语</td>
                      <td>de</td>
                      <td>意大利语</td>
                      <td>it</td>
                    </tr>
                  </tbody>
                </table>
            </div>
        </div>
        </div>
    </td>
</tr>
<tr>
    <th><span class="form-required">*</span>默认语言</th>
    <td>
        <script>
		var defaultlang_type = "{$parameter[defaultlang]}";
		if(defaultlang_type == 1){
			document.write('<select class="form-control" name="parameter[defaultlang]" style="width:20%; display:inline-block;"><option value="0">否</option><option value="1" selected>是</option></select>');	
		}else{
			document.write('<select class="form-control" name="parameter[defaultlang]" style="width:20%; display:inline-block;"><option value="0" selected>否</option><option value="1">是</option></select>');
		}
		</script>  
    </td>
</tr>
<tr>
    <th>排序</th>
    <td>
        <input class="form-control" style="width:200px;" type="text" name="parameter_default[list_order]" value="{$parameter_default[list_order]}" placeholder="请输入排序">
    </td>
</tr>
<tr class="post_status">
	<th>状态</th>
	<td>
		<php>
			$status_yes=$parameter_default['post_status']==1?"checked":"";
		</php>
		<div class="checkbox">
			<label>
				<input type="checkbox" id="post-status-checkbox" name="post[post_status]" value="1"
					   <php>echo $status_yes;</php> >开启
				<span id="post-status-error" style="color: red;display: none"></span>
			</label>
		</div>
	</td>
</tr>